
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="common/header.jsp"%>
<div class="clearfix"></div>
<div class="row">
  <div class="col-md-12 col-sm-12 col-xs-12">
    <div class="x_panel">
      <div class="x_title">
        <h2>新增APP基础信息 <i class="fa fa-user"></i><small>${devUserSession.devName}</small></h2>
             <div class="clearfix"></div>
      </div>
      <div class="x_content">
	  <!-- <div class="item form-group">
               <label class="control-label col-md-3 col-sm-3 col-xs-12" ></label>
               <div class="col-md-6 col-sm-6 col-xs-12">
                 <form action="uploadlogo" class="dropzone" style="height:100px;">
                 </form>
            <div class="clearfix"></div>
         </div>
       </div> -->
           <div class="clearfix"></div>
        <form class="form-horizontal form-label-left" action="appinfoaddsave" method="post" enctype="multipart/form-data">
                   <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">销售编号<span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <input id="JK" class="form-control col-md-7 col-xs-12" 
              	data-validate-length-range="20" data-validate-words="1" name="marketId"   required="required"
              	placeholder="请输入销售编号" type="text">
            </div>
          </div>
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12"  for="select">客户名称 <span class="required">*</span></label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <select name="clientNames" id="form-controls"  class="form-control"  required="required">
              <option value="0">请选择...</option>
              <c:forEach var="clientname" items="${lists }">
              <option value="${clientname.clientId }">${clientname.clientName }</option>
              </c:forEach>
              </select>
            </div>
          </div>
          <input type="hidden" id="clientname" name="clientName">
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">送货地址 <span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <input id="listname" class="form-control col-md-7 col-xs-12" 
              	data-validate-length-range="20" data-validate-words="1" name="address" readonly="readonly"  required="required"
              	placeholder="" type="text">
            </div>
          </div>
          
   
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="select">商品名称 <span class="required">*</span></label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <select name="goodsnames" id="goods" class="form-control"  required="required">
              <option value="0">请选择...</option>
              <c:forEach var="listname" items="${list }">
              <option value="${listname.gid }">${listname.gName}</option>
              </c:forEach>
              </select>
            </div>
          </div>
          <input type="hidden" id="goodsname" name="goodsname">
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="number">数量<span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <input type="number" id="softwareSize" name="count"   required="required" onkeyup="value=value.replace(/[^\d]/g,'')"
              data-validate-minmax="10,500"  placeholder="请输入数量" class="form-control col-md-7 col-xs-12">
            </div>
          </div>
          
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="number">单价 <span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <input type="number" id="downloads" name="price"  readonly="readonly"   required="required"
              data-validate-minmax="10,500"  placeholder="" class="form-control col-md-7 col-xs-12">
            </div>
          </div>
          <input type="hidden" id="money" name="money"> 
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">总金额 <span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <input id="supportROM" class="form-control col-md-7 col-xs-12" name="prices" 
              	data-validate-length-range="20" data-validate-words="1"  readonly="readonly"   required="required"
              	placeholder="" type="text">
            </div>
          </div>
          
          
          

          <div class="ln_solid"></div>
          <div class="form-group">
            <div class="col-md-6 col-md-offset-3">
              <button id="send" type="submit" class="btn btn-success">保存</button>
              <button type="button" class="btn btn-primary" id="back">返回</button>
              <br/><br/>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
<%@include file="common/footer.jsp"%>
<script src="${pageContext.request.contextPath }/statics/xiaoshou/appinfoadd.js"></script>